package com.gj.xxl.job.core.biz.model;

public class RegistryParam {

    //注意这里是执行器的 appname，不是定时任务的方法名称，定时任务是手动在 web 页面上面添加的，与执行器绑定
    private String registryKey;

    //执行器的地址 ip + port
    private String registryValue;

    public RegistryParam() {
    }

    public RegistryParam(String registryKey, String registryValue) {
        this.registryKey = registryKey;
        this.registryValue = registryValue;
    }

    public String getRegistryValue() {
        return registryValue;
    }

    public void setRegistryValue(String registryValue) {
        this.registryValue = registryValue;
    }

    public String getRegistryKey() {
        return registryKey;
    }

    public void setRegistryKey(String registryKey) {
        this.registryKey = registryKey;
    }

    @Override
    public String toString() {
        return "RegistryParam{" +
                "registryKey='" + registryKey + '\'' +
                ", registryValue='" + registryValue + '\'' +
                '}';
    }
}
